package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.domain.business.BusinessDO;
import com.qk.domain.business.BusinessPoolDO;
import com.qk.dto.business.BusinessDTO;
import com.qk.dto.business.BusinessListDTO;
import com.qk.dto.business.BusinessPoolListDTO;
import com.qk.dto.business.UpdateBusinessDTO;
import com.qk.entity.Business;
import com.qk.vo.business.BusinessVO;

public interface BusinessService extends IService<Business> {
    void add(BusinessDTO dto);

    PageResult<BusinessDO> selectPage(BusinessListDTO dto);

    void followUpBusiness(UpdateBusinessDTO dto);

    BusinessVO getBusinessInfoById(Integer id);

    void toCustomer(Integer id);

    void backToSea(Integer id);

    PageResult<BusinessPoolDO> poolPage(BusinessPoolListDTO dto);
}
